<%@ page language="java" import="java.util.*;" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<html:base />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>供应商设置</title>
</head>
<script src="../../js/jquery.js"></script>
<script src="../../js/CJL.0.1.min.js"></script>
<script src="../../js/sort.js"></script>
<script src="../../js/calendar.js"></script>
<script src="../../js/changebgcolor.js"></script>
<script src="../../js/system/inout.js"></script>

<link href="../../css/body.css" rel="stylesheet"  type="text/css" />
<link href="../../css/bus.css" rel="stylesheet"  type="text/css" />
<link href="../../css/sort.css" rel="stylesheet"  type="text/css" />
<link href="../../css/mask.css" rel="stylesheet"  type="text/css" />

<style>
.d{
	overflow-y:scroll; 
	border:0px solid;
	scrollbar-face-color:#70807d; 
	scrollbar-arrow-color:#ffffff; 
	scrollbar-highlight-color:#ffffff; 
	scrollbar-3dlight-color:#70807d; 
	scrollbar-shadow-color:#ffffff; 
	scrollbar-darkshadow-color:#70807d; 
	scrollbar-track-color:#ffffff;
}
.w{
	width:100px;
}
.w2{
	width:200px;
}
.dd{
	position:absolute;
	text-align:center;
	width:50%;
	height:54%;
	top:50%;
	left:50%;
	margin-top:-25%;
	margin-left:-27%;
	z-index:99999999;
	background-color:#699;
}
</style>
<body class="bb" style="padding:5px;" onload="selectAllInout();">
<div style="position: absolute; top:0; left:0; width: 600px; height: 405px; text-align: right; z-index: 2;">
<input type="button" id="insert" value="增加" onclick="insertButton();" />
<input type="button" id="update" value="修改" onclick="updateButton();" />

<%--
<input type="button" id="delete" value="删除" onclick="deleteButton();" />
<input type="button" id="select" value="查找" onclick="selectButton();" />
--%>


<input type="button" id="print"  value="打印" />
<input type="button" id="out"    value="退出" />
<br /><br /><br />
<div style="position:absolute; left: 6px; top: 45px; z-index:100;">
  <table border="0" cellspacing="1" class="odTable"  >
    <thead>
      <tr style="height:15px;">
        <td width="20" ><span id="idRadio" style="padding:0;">&nbsp;&nbsp;</span></td>
        <td width="100" ><span id="idInoutName">供应商名</span></td>
        <td width="70" ><span id="idCont">联系人</span></td>
        <td width="80" ><span id="idTel">联系电话</span></td>
        <td width="200" ><span id="idAddr">联系地址</span></td>
        <td width="92" ><span id="idMemo">备注</span></td>
      </tr>
    </thead>
  </table>
</div>
<div style="position:absolute; left:6px; top: 45px; z-index:0; height:380px; ">
  <table border="0" cellspacing="1" class="odTable" height="366px" >
    <tbody>
      <tr>
        <td width="20" ></td>
        <td width="100"></td>
        <td width="70" ></td>
        <td width="80" ></td>
        <td width="200"></td>
        <td width="92"></td>
      </tr>
    </tbody>
  </table>
</div>
<div class="d" style="position:absolute; left: 5px; top: 45px; width:600px; height:365px; padding-top:15px;">
  <table border="0" cellspacing="1" class="odTable" id="idTable" style="border:0; " onMouseOver="changeto()"  onmouseout="changeback()">
    <tbody id="inoutList">

    </tbody>
  </table>
</div>
</div>
<div id="sus" class="dd" style="display:none;" >
<div style="text-align:right;">
<input type="button" style="border:0; background-color:#996;" value="Ⅹ" onclick="hiddenDiv('sus');" />
</div>
<form >
<table align="center" style="text-align:left;">
<tr>
<td>
供应商名：
<input class="w" id="inoutCompanyName" type="text" size="10" />
<input class="w" id="inoutId" type="hidden" size="10" />
<input class="w" id="inoutType" type="hidden" size="10" />
</td>
</tr>
<tr>
<td>
联系人：
<input class="w" id="inoutContact" type="text" size="10" />
</td>
</tr>
<tr>
<td>
联系电话：
<input class="w" id="inoutTel" type="text" size="11"  />
</td>
</tr>
<tr>
<td>
联系地址：
<input class="w2" id="inoutAdd" type="text" size="30" />
</td>
</tr>
<tr>
<td>
备注：
<input class="w2" id="inoutMemo" type="text" size="30" />
</td>
</tr>
<tr>
<td align="center">
<div id="add" style="display:none;"><input type="button" value="添加" onclick="createInout()" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" /></div>
<div id="modify" style="display:none;"><input type="button" value="修改" onclick="updateInout()" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" /></div>
<div id="find" style="display:none;"><input type="button" value="查找" onclick="selectInout()" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" /></div>
</td>
</tr>
</table>
</form>
<br />
</div>
<div id="mask" style="display:none;"></div>
</body>
</html>
